package org.vineatoum.view;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.JPanel;
import javax.swing.JLabel;


public class PlantationPanel extends JPanel {
	/** Unique Serial id */
	private static final long serialVersionUID = 8236540103937231302L;

	/**
	 * Create the panel.
	 * @param string 
	 */
	public PlantationPanel(String plantationId) {
		
		final JLabel lblNewLabel = new JLabel(plantationId);
		lblNewLabel.addMouseListener(new MouseListener() {
			
			@Override
			public void mouseReleased(MouseEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void mousePressed(MouseEvent arg0) {
				
			}
			
			@Override
			public void mouseExited(MouseEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void mouseEntered(MouseEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void mouseClicked(MouseEvent arg0) {
				// TODO Auto-generated method stub
				
			}
		});
		add(lblNewLabel);
	}

}
